Trigger fontconfig initialization early
authorMatthias Clasen <mclasen@redhat.com>
Wed, 19 Aug 2020 18:20:41 +0000 (14:20 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Aug 2020 02:12:00 +0000 (22:12 -0400)
commita67483265888b6a5cad8cf2fdf60a226c96c970f
tree132dc558a503992b30cd8f91bc863a9ac174fdf6
parent2031bcd38861bc13a101f0c3fc295ed36a5cc96e
Trigger fontconfig initialization early

Add a pango call to create the fontmap already in gtk_init.
This will let us hide the cost of FcInit() (which on font-heavy
systems can be ~100ms) in a thread, on the pango side.
gtk/gtkmain.c